GNUSH v0601

February 1st, 2006

KPIT Cummins Info systems Limited is now releasing GNUSH v0601, a cross compiler tool chain for Renesas (formerly Hitachi) SH series of microcontrollers.

SALIENT FEATURES:

1.

GNUSH v0601 is based on gcc-4.0.2, binutils-2.16.1 and newlib-1.12.0.

2.

The latest patches have been applied to the gcc, binutils and newlib.

3. The generic option -fsort-data is implemented to sort variables and constants based on their alignment which gets enabled with -Os switch.
4.

Support for HEW4

Please refer to the FAQ for details of the patches applied to the sources.
http://www.kpitgnutools.com/phpmyfaq/index.php?sid=14271&aktion=artikel&rubrik=002004&id=78&lang=en

ABOUT GNUSH v0601:

Release version: GNUSH v0601
Release Date: February 1st, 2006
Platforms Supported: Red Hat GNU/Linux v8.0 or later (or compatible distribution)
Windows 9X/NT/2000/XP/ME
Languages: C, C++
SH Series: SH-1,
SH-2,
SH-2A,
SH-2E,
SH2-DSP,
SH-3,
SH-3E,
SH3-DSP,
SH-4,
SH-4A
Object File Formats: ELF, COFF
Please register at http://www.kpitgnutools.com for free technical support.
Please contact http://www.kpitgnutools.com/feedback.php for any feedback or suggestions.

CHANGES IN THIS RELEASE:
This section summarizes the major changes as compared to GNUSH v0503.

GCC:
1.

The ABI incompatibility between Renesas SHC and GNUSH with -mrenesas option on non-FPU SH targets for Double and long long data type has been fixed.

2.

Libraries (excluding standard C library) without -mrenesas option are not working for SH-2A and SH2A-single CPU. 
This has been fixed.

HEW (For Windows OS only):

1.

Appropriate corrections have been made in the default projects generated for SH targets like SH3,SH3e,SH4 and SH4a. 

2.

GNU Map Viewer is a GUI based viewing tool (for windows OS only). GNU Map viewer is integrated with HEW and will get installed with the toolchain.

        Features of GNU Map Viewer:

 
a.

KPIT GNU MapViewer-1.0 is compatible with Windows 9x and above.

b.

Supports GNU map files only.

c.

Targets(SH/H8/M16C/other) and format(elf/coff) recognition.

Known problems:

We intend to fix the known problems in our future releases.
We also release Maintenance Packs for critical bugs fixed in between releases.

SH-COFF and SH-ELF:

Windows:
1.

Windows 9X has restriction on the length of command line that can be given. Due to this,

 
a.

When the tool chain shortcut from 'Start' menu is invoked, the relevant batch file may not be found and Windows 9X may display an error.

b.

In HEW (High-performance Embedded Workshop), this restriction may cause problems during linking.

       Please refer to the following link for further details on this.
http://www.kpitgnutools.com/phpmyfaq/index.php?sid=17136&aktion=artikel&rubrik=002005&id=153&lang=en

Windows and GNU/Linux:
1.

Math libraries (excluding standard C library) with -mrenesas option are not working for SH-2A and SH2A-single CPU.

2.

The assembler option "-al=" which is used to generate list file gives the following error, "option `-alternate' doesn't allow an argument".

SH-COFF:

Windows and GNU/Linux:

1.

If the symbol in pc relative move instruction is external and is undefined, the linker does not complain about undefined symbol. And if the symbol is in other section, it is not relocated.

2.

When libc routines like printf, sprintf is used in program and if program is compiled for SH-2/SH-2E/SH-3/SH-3E little endian targets then compiler gives following error, mprec.c: undefined reference to `__ashiftrt_r4_20'.

3.

For sh-coff tool chain, -mrelax option does not work.

HEW:

1.

"Warning Options" and "Other Compiler Options" do not get included while generating makefile for any reopened project.

Workaround for this:

Go to "Compiler" option once and click "OK". Now the make file will be generated with all the selected options.

NOTE:

Windows and GNU/Linux:
1.

Future proposed Enhancements in the map viewer is "Find Utility".

2.

Latest GDB v0502 must be used with v0601 tool chain.